    <div class="SipeiMain_r fr">
      <h2 class="clearfix fonts_18 height45 fontc_444"><?php echo $this->title;?></h2>
      <div class="clearfix back_bgf border_3 border_c pr30 pt20 pb20 height32 fontc_666">
        <form class="clearfix pb10" action="<?php echo $this->createUrl('points_grading_count'); ?>" method="post" target="_blank">
          <table>
            <tbody>
              <tr>
                <td width="87" align="right" class="pt10 pr2">考试项目：</td>
                <td width="234" class="pt10">
                  <span class="fl standard_select pt5 pr7 pb5 pl3 border_c border_3">
                    <span class="fl select_shelter">
                      <select class="fl fontc_666" name="exam" onchange="getSchool(this.value)">
                      <option value=''>请选择</option>
                      <?php if(!empty($list['exam'])): ?>
                      <?php foreach ($list['exam'] as $value): ?>
                        <option value="<?php echo $value['exam_id']; ?>"><?php echo $value['exam_term_name']; ?></option>
                        <?php endforeach; ?>
                        <?php endif;?>
                        
                      </select>
                    </span>
                  </span>
                </td>                
                <td width="445" align="right" class="pt10">                	
                   <input type="submit" value="统计" class="b_a_n border_3 back_bgfb w80 height32 fontc_FFF fonts_12" />
                </td>
              </tr>
              <tr>
              	<td align="right" class="pt10 pr2">类别：</td>
                <td class="pt10">
                  <span class="fl standard_select pt5 pr7 pb5 pl3 border_c border_3">
                    <span class="fl select_shelter">
                      <select class="fl fontc_666" name="subject_type">
                            <option value='1' selected >理科</option>
                            <option value='2'>文科</option>
                      </select>
                    </span>
                  </span>
                </td>
              </tr>        
              <tr>
              	<td width="87" align="right" class="pt10 pr2">选择学校：</td>
                <td width="234" class="pt10">
                  <span class="fl standard_select pt5 pr7 pb5 pl3 border_c border_3">
                    <span class="fl select_shelter" id="school">
                      <select class="fl fontc_666" name="school">
                           <option value='0'>选择学校</option>
                      </select>
                    </span>
                  </span>
                </td>
              </tr>              
              <tr>
                <td align="right" class="pt20 pr5">分数上线：</td>
                <td class="pt20"><input type="text" style="width:212px;" name="up" value="" class="pt5 pr10 pb5 pl10 height20 border_c border_3 fontc_666" /></td>
              </tr>
              <tr>
                <td align="right" class="pt20 pr5">分数下线：</td>
                <td class="pt20"><input type="text" style="width:212px;" name="down" value="" class="pt5 pr10 pb5 pl10 height20 border_c border_3 fontc_666" /></td>
              </tr>
              <tr>
                <td align="right" class="pt20 pr5">分数间隔：</td>
                <td class="pt20"><input type="text" style="width:212px;" name="inter" value="" class="pt5 pr10 pb5 pl10 height20 border_c border_3 fontc_666" /></td>
              </tr>
            </tbody>
          </table>
        </form>
      </div>            
    </div>
    
<script >
function getSchool(exam_id){
	
	if(exam_id == ''){
		return false;
	}
	
	$.ajax({
			type:'GET',
			url:"<?php echo $this->createUrl('ajax_school'); ?>",
			data:{exam_id:exam_id},
			success:function(msg){
					$("#school").html(msg);
				}
		})
}
</script>